﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharePointExtendedDetailsFeature
{
    public static class Constants
    {
        public static readonly string ListName = "SharePoint Extended Details";
        public static readonly string ListDescription = "Allows users to add additional details about sites, lists, or libraries.  Details can include information about how the item was created, how to maintain, or just special details about the item that other users will find helpful.";
        public static readonly string FieldDescription = "Description";
        public static readonly string FieldNotes = "Notes";
        public static readonly string FieldGuid = "ObjectGuid";
        public static readonly string FieldOwner = "Owner";
        public static readonly string NewItemPageUrl = "/_layouts/SharePointExtendedDetailsFeature/NewItem.aspx";
        public static readonly string NoItemPageUrl = "/_layouts/SharePointExtendedDetailsFeature/NoItem.aspx";
        public static readonly string ContentEditorWebPartTitle = "CEWP_ExtendedDetails";
        public static readonly string NewFormJavascript = "<script language='JavaScript' src='/_layouts/SharePointExtendedDetailsFeature/NewForm.js'></script>";
        public static readonly string DisplayFormJavascript = "<script language='JavaScript' src='/_layouts/SharePointExtendedDetailsFeature/DisplayForm.js'></script>";
        public static readonly string EditFormJavascript = "<script language='JavaScript' src='/_layouts/SharePointExtendedDetailsFeature/EditForm.js'></script>";
    }
}
